#ifndef __VCD_GET_VM_INFO_H__
#define __VCD_GET_VM_INFO_H__

#include <string.h>
#include <stdio.h>
#include <config.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib/gprintf.h>
#include <glib/gi18n.h>

#include <curl/curl.h>
#include <json-glib/json-glib.h>
#include "vcd-util.h"

G_BEGIN_DECLS


extern int g_COUNT;
extern int g_PUBLIC_COUNT;
extern int g_virtual_list_num;
extern int g_page_list_num;
extern vm_info connect_data;
extern vm_info data[200];

struct network_response;

int get_vm_list(void);
int get_local_vm_list(void);
void clean_vm_data(void);
void get_record_data_and_connect(void);
gboolean curl_get_server_ip_callback_task(gpointer data);

G_END_DECLS

#endif
